home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
DB_CLIPP
/
0643B.ZIP
/
PRFILE.DOC
< prev
next >
Wrap
Text File
|
1986-12-23
|
2KB
|
47 lines
PRFILE.DOC--12/23/86
OK, here it is. My first "crippled" program. Reason it's crippled is twofold:
1) I want your $$$ <grin>.
2) This is really a Beta version, and I don't wanna enhance it too much until I
get some feedback.
PRFILE is meant to be used as a dBASE LOAD/CALL subroutine. Requirements are:
1) dBASE III PLUS or Developers' Release.
2) MS-DOS 3.0 or higher? I dunno, too lazy to test it on 2.x as neither of my
ATs will work on it very well.
PRFILE will redirect dBASE's printer output to a DOS file.
Syntax: LOAD PRFILE (PRFILE.BIN must be in present directory unless otherwise
specified)
memvarname="<DOS pathname>"
CALL PRFILE WITH memvarname
Returns:
same filename, unless it couldn't open the file, in which case the first
letter of the memvar is replaced with "W" for write error
The second time you CALL PRFILE it will close the print file, and return printer
output to the printer. Successive calls will do nothing.
When you exit dBASE with QUIT, the file will be closed anyway. You can also
close the print file and send output back to the printer with SET PRINTER TO
LPT1, so if you RELEASE MODULE PRFILE before the second call there's no real
harm done.
Error checking is scant at this point, but registered users will receive a
version which can be called repeatedly to turn printer redirection on/off, and
it will also have somewhat enhanced error checking. I'm sure you all can figure
out how to call this sucker repeatedly anyway, but it may or may not work and
will be a little more inconvenient, as well as slightly slower.
How to register (and support development of more of this inane stuff):
Send $10 to
Synergy Corp.
1780 SW 43 Ave.
Ft. Lauderdale FL 33317
Be sure to tell me what program you are registering. The latest version of it
will be sent to you, with the ASM source.
Enjoy!
R. Russell Freeland
Pres, Synergy Corp.